package com.bringway.p2p.service.impl;

import java.util.List;

import net.sf.json.JSONObject;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bringway.global.dao.SysAttechmentDao;
import com.bringway.p2p.dao.JkxxDao;
import com.bringway.p2p.service.JkxxService;
/**
 * 
 * @author hc
 * @version 创建时间：2016年2月2日 上午9:50:22
 * @功能：借款信息
 */

@Service
@Transactional
public class JkxxServiceImpl  implements JkxxService{
	
	
	

	@Autowired
	private JkxxDao jkxxDao;
	@Autowired
	private SysAttechmentDao sysAttechmentDao;
	
	@Override
	public List queryJkxxList(JSONObject params) {
		// TODO Auto-generated method stub
		return jkxxDao.queryJkxxList(params);
	}

	@Override
	public int getJkxxCount(JSONObject params) {
		// TODO Auto-generated method stub
		return jkxxDao.getJkxxCount(params);
	}

	@Override
	public String onAddJkxx(JSONObject params) {
		
		return jkxxDao.onAddJkxx(params);
	}
}
